package com.ruoyi.mall.mapstruct;

import com.ruoyi.mall.domain.OrderProductAssociation;
import com.ruoyi.mall.domain.OrderReturnDetail;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface OrderProductMapper {
    OrderProductMapper INSTANCE=Mappers.getMapper(OrderProductMapper.class);
    OrderReturnDetail OrderProductAssociation2OrderReturn(OrderProductAssociation orderProductAssociation);

    List<OrderReturnDetail> OrderProductAssociation2OrderReturns(List<OrderProductAssociation> list);
}
